<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<f:view xmlns="http://www.w3.org/1999/xhtml"
        xmlns:f="http://java.sun.com/jsf/core"
        xmlns:h="http://java.sun.com/jsf/html"
        xmlns:ui="http://java.sun.com/jsf/facelets"
        xmlns:p="http://primefaces.org/ui"
        xmlns:pm="http://primefaces.org/mobile"
        contentType="text/html">

    <pm:page title="#{bundle.login_title}">
        <!-- Main View -->
        <pm:view id="main">
            <pm:header title="#{bundle.login_title}">
            </pm:header>

            <pm:content>

                <h:panelGroup>
                    <form method="post" action="j_security_check">
                        <h:outputLabel id="j_username" for="j_username" value="Username" />
                        <input type="text" name="j_username" />

                        <h:outputLabel id="j_password" for="j_password" value="Password" />
                        <input type="password" name="j_password" />

                        <input type="submit" name="submit" value="Login"/>
                    </form>

                </h:panelGroup>
            </pm:content>

        </pm:view>        
    </pm:page>
</f:view>
